<%@ page contentType="text/html" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>

<f:view>
<html>
<body>
<h:form id="form1">
<h:commandButton id="button1" value="Click">
<f:actionListener type="sistemabienes.MyBean" />
</h:commandButton>
</h:form>
</body>
</html>
</f:view>